package mua.core.operation.list;

import mua.core.value.List;
import mua.core.value.MuaValue;

import java.util.ArrayList;

public class Join {
    public static MuaValue run(MuaValue a, MuaValue b) {
        ArrayList<MuaValue> list = new ArrayList<>((ArrayList<MuaValue>) a.getValue());
        list.add(b);
        return new List(list);
    }
}
